//package com.xw.advice;
//
//import org.aopalliance.intercept.Joinpoint;
//import org.aspectj.lang.ProceedingJoinPoint;
//import org.aspectj.lang.annotation.Aspect;
//import org.aspectj.lang.annotation.Before;
//import org.springframework.core.annotation.Order;
//import org.springframework.stereotype.Component;
//
///**
// * @author 小五
// *
// * AOP切面类在指定方法前切面
// */
//@Component
//@Aspect
//@Order(5)
//public class Logadvice {
//
////在controll的方法使用AOP
//
//   @Before("execution(* com.xw.controller.ControolerJDBC.find())")
//    public  void  before(Joinpoint point) throws Throwable {
//
//       System.out.println("我AOP切面在方法：" );
//    }
//}
